﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MeasNetClient
{
    public partial class FormScanBandConfig : Form
    {
        public FormScanBandConfig()
        {
            InitializeComponent();
        }

        private void scanBandBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.scanBandBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.mNCdataDataSet);

        }

        private void FormScanBandConfig_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'mNCdataDataSet.ScanBand' table. You can move, or remove it, as needed.
            this.scanBandTableAdapter.Fill(this.mNCdataDataSet.ScanBand);
            // TODO: This line of code loads data into the 'mNCdataDataSet.ScanBand' table. You can move, or remove it, as needed.
            //this.scanBandTableAdapter.Fill(this.mNCdataDataSet.ScanBand);

        }

        private void scanBandBindingNavigatorSaveItem_Click_1(object sender, EventArgs e)
        {
            this.Validate();
            this.scanBandBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.mNCdataDataSet);

        }
    }
}
